﻿
<%@ Page Language="C#" AutoEventWireup="true" Codebehind="Rights.aspx.cs" Inherits="ModulesToolkit.Membership.Views.Rights"
    Title="Rights" MasterPageFile="~/Shared/DefaultMaster.master" %>
<asp:Content ID="content" ContentPlaceHolderID="uxDefaultContentPlaceHolder" Runat="Server">
		<h1>Rights<br />
        </h1>
        <h><span class="style1">Screens</span></h>
<asp:DropDownList ID="uxScreensList" runat="server" Height="20px" Width="182px" OnSelectedIndexChanged= "uxScreensList_SelectedIndexChanged" AutoPostBack = "true">
</asp:DropDownList>
<br />
<br />
<div class="GridContainer" style="width: 500px;">
    <asp:GridView ID="uxRightsList" runat="server" DataSourceID="uxRightsListSource">

    <Columns>
    <asp:BoundField DataField="RightName" HeaderText="Right"  SortExpression = "RightName" ItemStyle-HorizontalAlign = "Center" HeaderStyle-HorizontalAlign = "Center"/>
    <asp:BoundField DataField="RightDescription" HeaderText="Description"  SortExpression = "RightDescription"  ItemStyle-HorizontalAlign = "Left" HeaderStyle-HorizontalAlign = "left"/>

    </Columns>
    <EmptyDataTemplate>
            <asp:Literal ID="Literal1" runat="server" Text='<%$ Resources:Content, 0001 %>'></asp:Literal>
     </EmptyDataTemplate>
    </asp:GridView>
    </div>

    <WCSF:ObjectContainerDataSource runat="server" ID="uxRightsListSource" UsingServerPaging="true"
        UsingServerSorting="true" OnSelecting="uxRightsList_Selecting" />

</asp:Content>
<asp:Content ID="Content1" runat="server" 
    contentplaceholderid="uxScriptPlaceHolder">
    <style type="text/css">
        .style1
        {
            font-size: small;
        }
    </style>
</asp:Content>

